package com.hangim.pce.common.search.annotation;


import com.hangim.pce.common.search.enums.ESActionType;
import com.hangim.pce.common.search.enums.ESEntityType;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface ElasticSearch {
    ESEntityType entity() default ESEntityType.DEFAULT;

    ESActionType action() default ESActionType.DEFAULT;
}
